package cc.marcio.systems.seven.model;

import java.io.Serializable;

import javax.persistence.Embeddable;
import javax.persistence.ManyToOne;

@Embeddable
public class ContactId implements Serializable {

	private static final long serialVersionUID = -1388305821479024950L;

	@ManyToOne
	private ContactDom contactdom;
	
	@ManyToOne
	private User user;

	public ContactDom getContactdom() {
		return contactdom;
	}

	public void setContactdom(ContactDom contactdom) {
		this.contactdom = contactdom;
	}

	public User getUser() {
		return user;
	}

	public void setUser(User user) {
		this.user = user;
	}
}
